-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Update Account Settings] Fix Wallet Page default badge style #36794
[Update Account Settings] Fix Wallet Page default badge style #36794
Conversation
@shawnborton can you have a look at the screenshots? |
Yep, I think you're right. I'm down with changing it when the nav item is active. I actually thought that the colors we used for those nav items were a little different (my bad). I thought we used |
That looks great to me! |
@getusha updated the tests |
|
@getusha request applied |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-20.at.7.20.19.PM.movAndroid: mWeb ChromeScreen.Recording.2024-02-20.at.7.05.04.PM.moviOS: NativeScreen.Recording.2024-02-20.at.7.00.37.PM.moviOS: mWeb SafariScreen.Recording.2024-02-20.at.2.01.08.PM.movMacOS: Chrome / SafariScreen.Recording.2024-02-20.at.1.41.52.PM.movMacOS: DesktopScreen.Recording.2024-02-20.at.7.09.54.PM.mov |
@filip-solecki is the change required only the two places? Stroybook shows the old badge. |
Good question - the issue was reported to Wallet Page, @shawnborton @dannymcclain WDYT? |
This should be a global update to our badge component. So where ever the badge is used, we should be showing this version. |
@getusha should be fine now |
Works fine now, one more question, shouldn't the styling applied inside the Badge component, or here? Line 792 in 669ac33
|
There are two types of badge in the app. I don't know if we want to change also the |
Was hoping to introduce a new prop to differentiate that? if we want to use it outside MenuItem we have to apply the styling and it is easy to miss. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm otherwise!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this works well for now, thank you
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Ah good point about the environment label... we can leave that untouched for now, and maybe just call it an Not as worried about that since it's not really customer facing. |
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.44-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀
|
Details
Fixed Issues
$ #36696
PROPOSAL:
Tests
Make sure the Default badge on the Bank account looks like this:
And the badge on the Wallet LHP row looks like this:
Offline tests
QA Steps
Same as test
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop